const path = require('path');
const Mock = require('mockjs');
const utils = require('../Utils/index')

module.exports = function (app) {
  app.get("/api/order/orderInfo", function (req, res) {
    var jsonObj = utils.getJson5File(path.join(__dirname, './order.json5'));
    res.json(Mock.mock(jsonObj));
    // res.json({ custom: 'response OrderTest' });
  });
};
